module.exports = {
  sum(baseParams, optionsAndParams) {
    // console.log('baseParams: ',baseParams)
    console.log(baseParams[0] + baseParams[1])
    return baseParams[0] + baseParams[1]
  },
  mul(x,y) {
    return x * y
  },
  init(baseParams, optionsAndParams) {
    if (baseParams.length < 1) {
      throw new Error('请输入项目名称')
    }
    const [name] = baseParams
    console.log('name: ', name)
    console.log('optionsAndParams: ',optionsAndParams)
  }
}